package com.dmz.workflow.constant;

/**
 * 流程定义常量类
 */
public interface ProcessDefinitionConstants {

    Integer STARTER_SELECTION_DISABLE = 1;

    Integer STARTER_SELECTION_ENABLE = 2;

    Integer STARTER_CC_SELECTION_ENABLE = 0;

    Integer STARTER_CC_SELECTION_DISABLE = 1;

    Integer ASSIGNED_MEMBER = 1;

    Integer STARTER_SELECTION_MEMBER = 2;

    Integer DEPARTMENT_LEADER_MEMBER = 4;

    Integer ROLE_MEMBER = 5;

    Integer MATRIX_ROLE = 6;

    int CONSECUTIVE_SIGN = 1;

    int COUNTER_SIGN = 2;

    int OR_SIGN = 3;

    String START_NODE_NAME = "__initiator__";

    String START_NODE = "start";

    String DUPLICATE_NODE = "duplicate";

    String CHECK_NODE = "check";

    String EVENT_NODE = "event";

    String TERM_NODE = "term";

    String REPEAL_NODE = "repeal";

    String BACK_NODE = "back";

    String REPEAL_NODE_NAME = "已撤销";

    Integer ONE_PERSON_SELECTED = 1;

    Integer MULTIPLE_PERSON_SELECTED = 2;

    int ASSIGNED_PEOPLE_MEMBER = 1;

    int ASSIGNED_DEPARTMENT_MEMBER = 2;

    int ASSIGNED_ROLE_MEMBER = 3;

    Integer APPROVE_COMMENT_NEEDED = 1;

    Integer APPROVE_COMMENT_HIDDEN_FOR_STARTER = 2;

    /**
     * 流程定义的表单索引名称
     */
    String PROCESS_DEFINITION_FORM_NAME = "ProcessInstanceFormData";

    Integer NODE_AUTO_PASS_SETTING = 0;

    Integer NODE_AUTO_TRANSFER_SETTING = 1;

    Integer NODE_NONE_REMOVE_REPETITION = 0;

    Integer NODE_CONSECUTIVE_REMOVE_REPETITION = 1;

    Integer NODE_LAST_KEEP_REMOVE_REPETITION = 2;

    Integer STARTER_AUTO_APPROVE = 1;
}
